package mortal.game.net
{
	import Framework.MQ.*;
	import Message.Command.*;
	import mortal.game.events.*;
	import mortal.game.mvc.*;
	/*
	import mortal.game.net.broadCast.*;
	import mortal.game.net.command.*;
	import mortal.game.net.command.battlefield.*;
	import mortal.game.net.command.copy.*;
	import mortal.game.net.command.fish.*;
	import mortal.game.net.command.flowers.*;
	import mortal.game.net.command.friendBless.*;
	import mortal.game.net.command.group.*;
	import mortal.game.net.command.guildFlame.*;
	import mortal.game.net.command.spa.*;
	import mortal.game.net.command.stall.*;
	import mortal.game.net.command.vip.*;
	*/
	import mortal.mvc.core.*;
	
	public class MessageHandler extends Object implements IMessageHandler
	{
		public function MessageHandler()
		{
			registerCall();
		}
		
		private function registerCall() : void
		{
			/*
			BroadCastManager.instance.registerCall(new ErrorMsgCommand(EPublicCommand._ECmdPublicErrorMsg));
			BroadCastManager.instance.registerCall(new NoticeMsgCommand(EPublicCommand._ECmdPublicNoticeMsg));
			BroadCastManager.instance.registerCall(new NoticeMsgCommand(EPublicCommand._ECmdPublicNoticeBroadcastMsg));
			BroadCastManager.instance.registerCall(new PositionUpdateCommand(EGateCommand._ECmdGatePositionUpdate));
			BroadCastManager.instance.registerCall(new MoneyUpdateCommand(EGateCommand._ECmdGateMoneyUpdate));
			BroadCastManager.instance.registerCall(new AttributeUpdateCommand(EGateCommand._ECmdGateRoleUpdate));
			BroadCastManager.instance.registerCall(new PackInfoCommand(EGateCommand._ECmdGateBag));
			BroadCastManager.instance.registerCall(new PackIndexCommand(EGateCommand._ECmdGateBagIndex));
			BroadCastManager.instance.registerCall(new BagCapacityChangeCommand(EGateCommand._ECmdGateBagCapacityChange));
			BroadCastManager.instance.registerCall(new PackItemCommand(EGateCommand._ECmdGatePlayerItemUpdate));
			BroadCastManager.instance.registerCall(new FightAttributeBaseCommand(EPublicCommand._ECmdPublicFightAttributeBase));
			BroadCastManager.instance.registerCall(new FightAttributeCommand(EPublicCommand._ECmdPublicFightAttribute));
			BroadCastManager.instance.registerCall(new FightAttributeAddCommand(EPublicCommand._ECmdPublicFightAttributeAdd));
			BroadCastManager.instance.registerCall(new FightAttributeExCommand(EPublicCommand._ECmdPublicFightAttributeEx));
			BroadCastManager.instance.registerCall(new SkillInfoCommand(EGateCommand._ECmdGateSkill));
			BroadCastManager.instance.registerCall(new TaskCurrentCommand(EGateCommand._ECmdGateTaskMy));
			BroadCastManager.instance.registerCall(new TaskAcceptCommand(EGateCommand._ECmdGateTaskCanGet));
			BroadCastManager.instance.registerCall(new TaskUpdateCommand(EGateCommand._ECmdGateTaskUpdate));
			BroadCastManager.instance.registerCall(new BuffCommand(EGateCommand._ECmdGateBuffer));
			BroadCastManager.instance.registerCall(new ChatMessageCommand(EGateCommand._ECmdGateChatMsg));
			BroadCastManager.instance.registerCall(new ChatMessageCommand(EGateCommand._ECmdGateChatMsgPrivate));
			BroadCastManager.instance.registerCall(new ChatMessageCommand(EGateCommand._ECmdGateChatMsgSpace));
			BroadCastManager.instance.registerCall(new ChatMessageCommand(EGateCommand._ECmdGateChatMsgGroup));
			BroadCastManager.instance.registerCall(new ChatMessageCommand(EGateCommand._ECmdGateChatMsgGuild));
			BroadCastManager.instance.registerCall(new PetInfoCommand(EGateCommand._ECmdGatePetInfo));
			BroadCastManager.instance.registerCall(new EntityDropItemCommand(ECmdBroadCast._ECmdBroadcastEntityDropItem));
			BroadCastManager.instance.registerCall(new FriendApplyCommand(EGateCommand._ECmdGateFriendApply));
			BroadCastManager.instance.registerCall(new FriendUpdateCommand(EGateCommand._ECmdGateFriendRecord));
			BroadCastManager.instance.registerCall(new FriendOnlineStatusCommand(EGateCommand._ECmdGateFriendOnlineStatus));
			BroadCastManager.instance.registerCall(new FriendReplyCommand(EGateCommand._ECmdGateFriendReply));
			BroadCastManager.instance.registerCall(new FriendRemoveCommand(EGateCommand._ECmdGateFriendRemove));
			BroadCastManager.instance.registerCall(new FriendUpdateCommand(EGateCommand._ECmdGateFriendInfoUpdate));
			BroadCastManager.instance.registerCall(new StallOpenStallRetCommand(EPublicCommand._ECmdPublicStallOpenRet));
			BroadCastManager.instance.registerCall(new StallItemUpdateCommand(EPublicCommand._ECmdPublicStallItemUpdate));
			BroadCastManager.instance.registerCall(new StallLeaveWordUpdate(EPublicCommand._ECmdPublicStallLeaveWordUpdate));
			BroadCastManager.instance.registerCall(new IssmCommand(EGateCommand._ECmdGateIssm));
			BroadCastManager.instance.registerCall(new TradeCommand(EPublicCommand._ECmdPublicBusiness));
			BroadCastManager.instance.registerCall(new PetBagCommand(EGateCommand._ECmdGatePetBag));
			BroadCastManager.instance.registerCall(new PetBagUpdateCommand(EGateCommand._ECmdGatePetUpdate));
			BroadCastManager.instance.registerCall(new PetStatusUpdateCommand(EGateCommand._ECmdGatePetStatusUpdate));
			BroadCastManager.instance.registerCall(new PlayerInfoCommand(EGateCommand._ECmdGateLookUpPlayerReply));
			BroadCastManager.instance.registerCall(new LookupPlayerCommand(EGateCommand._ECmdGateLookUpPlayerRequest));
			BroadCastManager.instance.registerCall(new GroupApplyCommand(EPublicCommand._ECmdPublicGroupApply));
			BroadCastManager.instance.registerCall(new GroupInviteCommand(EPublicCommand._ECmdPublicGroupInvite));
			BroadCastManager.instance.registerCall(new GroupEntityInfoCommand(EPublicCommand._ECmdPublicGroupEntityInfo));
			BroadCastManager.instance.registerCall(new GroupInfoCommand(EPublicCommand._ECmdPublicGroupInfo));
			BroadCastManager.instance.registerCall(new GroupLeftCommand(EPublicCommand._ECmdPublicGroupLeft));
			BroadCastManager.instance.registerCall(new GroupModifyAllocatioCommand(EPublicCommand._ECmdPublicGroupModifyAllocation));
			BroadCastManager.instance.registerCall(new GroupModifyCaptainCommand(EPublicCommand._ECmdPublicGroupModifyCaptain));
			BroadCastManager.instance.registerCall(new GroupInviteExCommand(EPublicCommand._ECmdPublicGroupInviteEx));
			BroadCastManager.instance.registerCall(new GroupRecjectInviteCommand(EPublicCommand._ECmdPublicGroupRecjectInvite));
			BroadCastManager.instance.registerCall(new GroupRecjectApplyCommand(EPublicCommand._ECmdPublicGroupRecjectApply));
			BroadCastManager.instance.registerCall(new GroupCreateCopyCommand(EPublicCommand._ECmdPublicGroupCreateCopy));
			BroadCastManager.instance.registerCall(new GroupSetGroupCommand(EPublicCommand._ECmdPublicGroupSetGroup));
			BroadCastManager.instance.registerCall(new BroadcastEntityGroupUpdateCommand(ECmdBroadCast._ECmdBroadcastEntityGroupUpdate));
			BroadCastManager.instance.registerCall(new PanicBuyItemUpdateCommand(EGateCommand._ECmdGatePanicBuyItem));
			BroadCastManager.instance.registerCall(new PanicBuyRefreshCommand(EGateCommand._ECmdGatePanicBuyRefresh));
			BroadCastManager.instance.registerCall(new ShortCutsCommand(EGateCommand._ECmdGateShortcut));
			BroadCastManager.instance.registerCall(new CopyEnterCopyCommand(EPublicCommand._ECmdPublicCopyPassPlayerIntoCopy));
			BroadCastManager.instance.registerCall(new CopyEnterCopyCommand(EPublicCommand._ECmdPublicCopyRePassPlayerIntoCopy));
			BroadCastManager.instance.registerCall(new CopyFindGroupCommand(EPublicCommand._ECmdPublicCopyFindGroup));
			BroadCastManager.instance.registerCall(new CopyFindPlayerCommand(EPublicCommand._ECmdPublicCopyFindPlayer));
			BroadCastManager.instance.registerCall(new CopyGroupApplyCommand(EPublicCommand._ECmdPublicCopyGroupApply));
			BroadCastManager.instance.registerCall(new CopyGroupEntityInfoCommand(EPublicCommand._ECmdPublicCopyGroupEntityInfo));
			BroadCastManager.instance.registerCall(new CopyGroupInfoCommand(EPublicCommand._ECmdPublicCopyGroupInfo));
			BroadCastManager.instance.registerCall(new CopyGroupInviteCommand(EPublicCommand._ECmdPublicCopyGroupInvite));
			BroadCastManager.instance.registerCall(new CopyLeftCopyCommand(EPublicCommand._ECmdPublicCopyLeftCopy));
			BroadCastManager.instance.registerCall(new CopyLeftGroupCommand(EPublicCommand._ECmdPublicCopyLeftGroup));
			BroadCastManager.instance.registerCall(new CopyLeftHellCommand(EPublicCommand._ECmdPublicCopyLeftHell));
			BroadCastManager.instance.registerCall(new CopyModifyGroupAllocationCommand(EPublicCommand._ECmdPublicCopyModifyGroupAllocation));
			BroadCastManager.instance.registerCall(new CopyModifyGroupCaptainCommand(EPublicCommand._ECmdPublicCopyModifyGroupCaptain));
			BroadCastManager.instance.registerCall(new CopyEnterHellCommand(EPublicCommand._ECmdPublicCopyEnterHell));
			BroadCastManager.instance.registerCall(new CopyGroupMiniInfoCommand(EPublicCommand._ECmdPublicCopyGroupMiniInfo));
			BroadCastManager.instance.registerCall(new CopyInfoCommand(EPublicCommand._ECmdPublicCopyInfo));
			BroadCastManager.instance.registerCall(new CopyGroupRecjectApplyCommand(EPublicCommand._ECmdPublicCopyGroupRecjectApply));
			BroadCastManager.instance.registerCall(new CopyGroupRecjectInviteCommand(EPublicCommand._ECmdPublicCopyGroupRecjectInvite));
			BroadCastManager.instance.registerCall(new CopyPublicCopyMsgCommand(EPublicCommand._ECmdPublicCopyMsg));
			BroadCastManager.instance.registerCall(new CopyWaitingInfoCommand(EPublicCommand._ECmdPublicCopyWaitingInfo));
			BroadCastManager.instance.registerCall(new PetSireCommand(EPublicCommand._ECmdPublicPetSire));
			BroadCastManager.instance.registerCall(new ItemCdCommand(EGateCommand._ECmdGateDrugCanUseDt));
			BroadCastManager.instance.registerCall(new GuildUpdateInfoCommand(EPublicCommand._ECmdPublicGuildUpdateInfo));
			BroadCastManager.instance.registerCall(new GuildPushInviteInfoCommand(EPublicCommand._ECmdPublicGuildPushInviteInfo));
			BroadCastManager.instance.registerCall(new LookupPetReplyCommand(EGateCommand._ECmdGateLookUpPetReply));
			BroadCastManager.instance.registerCall(new FriendBlessSuccessCommand(EGateCommand._ECmdGateFriendBlessSucess));
			BroadCastManager.instance.registerCall(new FriendBlessTipsCommand(EGateCommand._ECmdGateFriendBlessTips));
			BroadCastManager.instance.registerCall(new FriendBlessListCommand(EGateCommand._ECmdGateFriendBlessList));
			BroadCastManager.instance.registerCall(new FriendBlessNumInfoUpdateCommand(EPublicCommand._ECmdPublicPublicInfo));
			BroadCastManager.instance.registerCall(new UpdateGuildMapCommand(EPublicCommand._ECmdPublicUpdateGuildMap));
			BroadCastManager.instance.registerCall(new OpenBattleFieldCommand(EPublicCommand._ECmdPublicOpenBattleField));
			BroadCastManager.instance.registerCall(new CloseBattleFieldCommand(EPublicCommand._ECmdPublicCloseBattleField));
			BroadCastManager.instance.registerCall(new BattleFieldListUpdateCommand(EPublicCommand._ECmdPublicBattleFieldList));
			BroadCastManager.instance.registerCall(new BattleFieldResultCommand(EPublicCommand._ECmdPublicBattleFieldResult));
			BroadCastManager.instance.registerCall(new BattleFieldPlayerCreditCommand(EPublicCommand._ECmdPublicBattleFieldPlayerCredit));
			BroadCastManager.instance.registerCall(new BattleFieldCampCreditCommand(EPublicCommand._ECmdPublicBattleFieldCampCredit));
			BroadCastManager.instance.registerCall(new BattlefieldEnterCommand(EPublicCommand._ECmdPublicBattleFieldEnter));
			BroadCastManager.instance.registerCall(new BattlefieldLeaveCommand(EPublicCommand._ECmdPublicBattleFieldLeft));
			BroadCastManager.instance.registerCall(new GuildShopUpdateCommand(EPublicCommand._ECmdPublicGuildShopUpdate));
			BroadCastManager.instance.registerCall(new DrugBagUpdateCommand(EGateCommand._ECmdGateDrugBagInfo));
			BroadCastManager.instance.registerCall(new PetDrugBagUpdateCommand(EGateCommand._ECmdGateDrugBagPetInfo));
			BroadCastManager.instance.registerCall(new GuildWarehouseUpdateCommand(EPublicCommand._ECmdPublicGuildWarehouseUpdate));
			BroadCastManager.instance.registerCall(new GuildWarehouseApplyUpdateCommand(EPublicCommand._ECmdPublicGuildWarehouseApplyUpdate));
			BroadCastManager.instance.registerCall(new GuildStructureUpdateCommand(EPublicCommand._ECmdPublicGuildStructureInfo));
			BroadCastManager.instance.registerCall(new GuildNewApplyCommand(EPublicCommand._ECmdPublicGuildApply));
			BroadCastManager.instance.registerCall(new GuildWelcomeCommand(EPublicCommand._ECmdPublicGuildWelcome));
			BroadCastManager.instance.registerCall(new GuildNewMemberCommand(EPublicCommand._ECmdPublicGuildNewMember));
			BroadCastManager.instance.registerCall(new VIPInfoUpdateCommand(EGateCommand._ECmdGateVIPInfo));
			BroadCastManager.instance.registerCall(new FightModelCampUnionUpdate(EPublicCommand._ECmdPublicFightModelCampUnion));
			BroadCastManager.instance.registerCall(new FlowersWreathEffect(EPublicCommand._ECmdPublicFloatFlower));
			BroadCastManager.instance.registerCall(new ReceiveFlowerCommand(EPublicCommand._ECmdPublicReceiveFlowerInfo));
			BroadCastManager.instance.registerCall(new FlowersKissBackCommand(EGateCommand._ECmdGateKissBack));
			BroadCastManager.instance.registerCall(new FlowersHandselSuccess(EGateCommand._ECmdGateFlowerSuccess));
			BroadCastManager.instance.registerCall(new MapSharpCommand(ECmdBroadCast._ECmdBroadcastMapSharp));
			BroadCastManager.instance.registerCall(new SpringInteractMsgCommand(EGateCommand._ECmdGateSpringInteractMsg));
			BroadCastManager.instance.registerCall(new SpaGetSpaListCommand(EPublicCommand._ECmdPublicSpaGetSpaList));
			BroadCastManager.instance.registerCall(new GuildFlameOpenCommand(EPublicCommand._ECmdPublicGuildFlameOpen));
			BroadCastManager.instance.registerCall(new GuildFlameCloseCommand(EPublicCommand._ECmdPublicGuildFlameClose));
			BroadCastManager.instance.registerCall(new GuildFlameInfoCommand(EGateCommand._ECmdGateGuildFlameInfo));
			BroadCastManager.instance.registerCall(new GuildFlameBigCommand(EGateCommand._ECmdGateGuildFlameBig));
			BroadCastManager.instance.registerCall(new GuildFlameShortCommand(EGateCommand._ECmdGateGuildFlameShort));
			BroadCastManager.instance.registerCall(new FishItemsCommand(EGateCommand._ECmdGateFishItems));
			BroadCastManager.instance.registerCall(new EndFishStatusCommand(EGateCommand._ECmdGateEndFishStatus));
			*/
		}
		
		public function onMessage(message:MessageBlock) : void
		{
			
		}
	}
}